﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Share/Default.master" AutoEventWireup="true" CodeFile="FuJian.aspx.cs" Inherits="Admin_Article_FuJian" Title="无标题页" %>

<%@ Register Assembly="mybutton" Namespace="BlogLan.Web.Controls" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" Runat="Server">
<asp:BulletedList ID="errors" runat="server"></asp:BulletedList>
<table>
    <tr>
        <td><b>添加附件</b></td>
    </tr>
    <tr>
        <td>附件名称</td>
        <td><asp:TextBox ID="tbName" runat="server"></asp:TextBox></td>
    </tr>
    <tr>
        <td>选择附件</td>
        <td>
            <asp:FileUpload ID="upload" runat="server" /></td>
    </tr>
    <tr>
        <td></td>
        <td>
            <cc1:ClickOnceButton ID="save" runat="server" Text="提交" onclick="save_Click" />
            &nbsp;
            <cc1:ClickOnceButton ID="cancel" runat="server" Text="取消" 
                onclick="cancel_Click"/></td>
    </tr>
</table>
<asp:GridView ID="gv" runat="server" AutoGenerateColumns="False" SkinID="gvList" 
        DataKeyNames="FuJianID">
    <Columns>
        <asp:TemplateField HeaderText="删除附件">
            <ItemTemplate>
                <img src="../images/Delete.gif" title="删除附件" />
                <a href="?fujianid=<%#Eval("fujianid") %>">删除</a>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:BoundField DataField="Title" HeaderText="附件名称" />
    </Columns>

</asp:GridView>
</asp:Content>

